import taskStore from "../store/taskStore"
function Bar(){
    
    return(
        <div onClick={()=>{taskStore.shiftlist()}}>
            {taskStore.list.map((item,)=>{
                return <li  key={item}>{item}</li>
            })}
        </div>
    )
}
export default Bar